<div class="row">
<div class="col-md-6 col-md-offset-3">
  <%= form_for :session, url: login_path, method: :post do |f| %>

    <%= f.label :mobile %>
    <%= f.text_field :mobile, class: "form-control", placeholder: "input your name or email" %>

    <%= f.label :password %>
    <%= f.password_field :password, class: "form-control" %>

    <%= f.label :remeber_me, class: "checkbox inline" do %>
      <%= f.check_box :remeber_me %>
      <span>Remeber me on this computer</span>
    <% end -%>

    <%= f.submit "Log in", class: "btn-primary" %>
  <% end -%>
  <p>New user?<%#= link_to "Sign up now!", signup_path %></p>
</div>
</div>